﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.EquipmentManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.EquipmentManagement.EquipmentSpotTemplateVMs
{
    public partial class EquipmentSpotTemplateTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._EquipmentSpotTemplate._Name")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.Name);
        [Display(Name = "_Model._EquipmentSpotTemplate._Description")]
        public ExcelPropety Description_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.Description);
        [Display(Name = "_Model._EquipmentSpotTemplate._SpotCycle")]
        public ExcelPropety SpotCycle_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.SpotCycle);
        [Display(Name = "_Model._EquipmentSpotTemplate._SysAuto")]
        public ExcelPropety SysAuto_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.SysAuto);
        [Display(Name = "_Model._EquipmentSpotTemplate._CreateTime")]
        public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.CreateTime, true);
        [Display(Name = "_Model._EquipmentSpotTemplate._UpdateTime")]
        public ExcelPropety UpdateTime_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.UpdateTime, true);
        [Display(Name = "_Model._EquipmentSpotTemplate._CreateBy")]
        public ExcelPropety CreateBy_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.CreateBy);
        [Display(Name = "_Model._EquipmentSpotTemplate._UpdateBy")]
        public ExcelPropety UpdateBy_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.UpdateBy);
        [Display(Name = "_Model._EquipmentSpotTemplate._IsValid")]
        public ExcelPropety IsValid_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.IsValid);
        [Display(Name = "_Model._EquipmentSpotTemplate._TenantCode")]
        public ExcelPropety TenantCode_Excel = ExcelPropety.CreateProperty<EquipmentSpotTemplate>(x => x.TenantCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class EquipmentSpotTemplateImportVM : BaseImportVM<EquipmentSpotTemplateTemplateVM, EquipmentSpotTemplate>
    {
            //import

    }

}